package memory;

public class Address implements WordFinder {
	private int position;
	
	public Address(int position){
		this.position = position;
	}
	
	public int getPosition(){
		return position;
	}
	
	public Word getWord(Memory mem){
		return mem.getWord(this);
		
	}
	public String toString(){
		return Integer.toString(position);
	}
}
